<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<style>
		
	</style>
	<body>
		<div id="app">
			<!-- 一个多选框 -->
			<!-- <label for="agree">
				<input type="checkbox" id="agree" v-model="isAgree">
				同意协议
			</label>
			<p>您选择的是: {{isAgree}}</p>
			<button :disabled="!isAgree">下一步</button> -->
			
			<!-- 多个多选框 -->
			<input type="checkbox" value="篮球" v-model="hobbies">篮球
			<input type="checkbox" value="足球" v-model="hobbies">足球
			<input type="checkbox" value="乒乓球" v-model="hobbies">乒乓球
			<input type="checkbox" value="羽毛球" v-model="hobbies">羽毛球
			<p>您的爱好是: {{hobbies}}</p>
		</div>
		<script src="../js/vue.js"></script>
		<script>
			const app = new Vue({
				el: '#app',
				data: {
					message: '你好啊',
					isAgree: false,
					hobbies: []
				}
			})
		</script>
		
	</body>
</html>